<?php
namespace Nawa\MedicalStudy\MedicalCenter\Monitoring\Survey;
/**
 * Medical Center Monitoring Survey Question 
 *
 * It's a copy of the orignal Survey Questions
 *
 * @author Xavier VILAIN
 * @package Nawa\MedicalStudy\MedicalCenter\Monitoring\Survey
 * @license #license-nawa-survey#
 *
 * @property int	$msid				Id of the medical study
 * @property int	$mcid				Medical Center
 * @property int	$monitoringid		Monitoring Id
 * @property int	$questionid 		Id of the question
 * @property int	$surveyid 			Id of the survey template
 * @property int	$sectiondid			Id of the section
 * @property int	$parentid			Parent Question
 * @property int	$version			Version of the question
 * @property int	$answers			Anwser (can be a value or a json string
 * depending on the type of question)
 * 
 */
class Question extends \Fox\Object {
		
	/**
	 * Link to the survey object
	 * @var string
	 */
	const LINK_SURVEY = 'survey';
	
	/**
	 * Link to sections
	 * @var string
	 */
	const LINK_SECTION = 'section';
}
\Fox\Dao::infos(Question::className(),
new \Fox\Object\Info('ms_mc_monitoring_survey_questions', \Fox\Databases::DB_APP)
);